#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Math.Optimization;
using Cephei.QL.Math;
namespace Cephei.QL.Models
{
     // <summary> 
	// ! Calibrated model class
	// </summary>
    [Guid ("B2C04667-B9A4-4d6b-9C6D-3614E2A341B1"),ComVisible(true)]
	public interface ICalibratedModel 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 ICalibratedModel Calibrate(Cephei.IVector<Cephei.QL.Models.ICalibrationHelper> instruments, Cephei.QL.Math.Optimization.IOptimizationMethod method, Cephei.QL.Math.Optimization.IEndCriteria endCriteria, Microsoft.FSharp.Core.FSharpOption<Cephei.QL.Math.Optimization.IConstraint> constraint, Microsoft.FSharp.Core.FSharpOption<Cephei.IVector<Double>> weights);
        
		 Cephei.QL.Math.Optimization.IConstraint Constraint {get;}
        
		 QL.Math.Optimization.EndCriteria.TypeEnum EndCriteria {get;}
        
		 ICalibratedModel SetParams(Cephei.QL.Math.IArray p_params);
        
		 ICalibratedModel Update {get;}
        
		 Double Value(Cephei.QL.Math.IArray p_params, Cephei.IVector<Cephei.QL.Models.ICalibrationHelper> instruments);
    }

    // <summary> 
	// ! Calibrated model class Factory
	// </summary>
   	[ComVisible(true)]
    public interface ICalibratedModel_Factory // : Collection_Factory<ICalibratedModel, ICell<ICalibratedModel>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    ICalibratedModel Create (UInt64 nArguments);
    }
}

